package org.myspringframework.springboot001.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * @author fzy
 * @version 1.0
 * 创建时间：2024-11-26 13:29
 */

@Data
@ConfigurationProperties("collection")
public class CollectionConfig {
    String[] names;
    List<Product> products;
    Map<String, Product> idProductMap;
}
